package org.nvframe.event.eventtype;

import org.nvframe.event.AbstractEvent;
import org.nvframe.event.EventListener;
import org.nvframe.event.EventService.EVENT_TYPE;

/**
 * 
 * @author Nik Van Looy
 */
public class SoundEvent extends AbstractEvent {

	private static Class<? extends EventListener> listener = SoundListener.class;
	
	private String soundId;

	public SoundEvent(String soundId) {
		// set the event type
		eventType = EVENT_TYPE.SOUND;
		
		// set event-specific properties
		this.soundId = soundId;
	}

	public String getSoundId() {
		return soundId;
	}

	@Override
	protected Class<? extends EventListener> getListener() {
		return listener;
	}

}
